home *** CD-ROM | disk | FTP | other *** search
- package Common
- {
- import flash.media.Sound;
-
- public class SoundObject
- {
-
- public static const C_RIGHT:* = 2;
-
- public static const C_BG:* = 0;
-
- public static const C_LEFT:* = 3;
-
- public static const C_SFX:* = 1;
-
- public static const C_BOTH:* = 4;
-
-
- private var name:String;
-
- private var position:uint;
-
- private var sound:Sound;
-
- private var type:uint;
-
- public function SoundObject(param1:String, param2:Sound, param3:uint, param4:uint = 4)
- {
- super();
- this.name = param1;
- this.sound = param2;
- this.type = param3;
- this.position = param4;
- }
-
- public function get Position() : uint
- {
- return position;
- }
-
- public function get SoundData() : Sound
- {
- return sound;
- }
-
- public function get Type() : uint
- {
- return type;
- }
- }
- }
-